import { UniPPTX } from "./core";

window.onload = () => {
  // const uid = Math.random().toString(36).slice(2, 8);
  const pptx = new UniPPTX({
    container: "#app",
    // websocket: {
    //   url: "ws://localhost:9999",
    //   userid: uid,
    //   username: "用户" + uid,
    // },
  });

  Reflect.set(window, "unipptx", pptx);
};
